public class MYException extends Exception{
    String msg;
    /*MYException(String msg){
        this.msg = msg;
    }*/
    public String retrieveMsg(){
        return this.msg;
    }
    public void putMsg(String str){
        this.msg = str;
    }
}